#!/bin/env python

# Lucid is Copyright (C) 2006 by Infiscape
#
# Original Author: Allen Bierbaum
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
from PyQt4 import QtCore, QtGui

class Ui_Form(object):
   def setupUi(self, Form):
      Form.setObjectName("Form")
      Form.resize(QtCore.QSize(QtCore.QRect(0,0,805,914).size()).expandedTo(Form.minimumSizeHint()))

      self.hboxlayout = QtGui.QHBoxLayout(Form)
      self.hboxlayout.setMargin(9)
      self.hboxlayout.setSpacing(6)
      self.hboxlayout.setObjectName("hboxlayout")

      self.horizSplitter = QtGui.QSplitter(Form)
      self.horizSplitter.setOrientation(QtCore.Qt.Horizontal)
      self.horizSplitter.setObjectName("horizSplitter")

      self.leftSideSplitter = QtGui.QSplitter(self.horizSplitter)
      self.leftSideSplitter.setOrientation(QtCore.Qt.Vertical)
      self.leftSideSplitter.setObjectName("leftSideSplitter")

      self.widget = QtGui.QWidget(self.leftSideSplitter)
      self.widget.setObjectName("widget")

      self.hboxlayout1 = QtGui.QHBoxLayout(self.widget)
      self.hboxlayout1.setMargin(0)
      self.hboxlayout1.setSpacing(6)
      self.hboxlayout1.setObjectName("hboxlayout1")

      self.mTypeTable = QtGui.QTableWidget(self.widget)
      self.mTypeTable.setObjectName("mTypeTable")
      self.hboxlayout1.addWidget(self.mTypeTable)

      self.mLengthTable = QtGui.QTableWidget(self.widget)
      self.mLengthTable.setObjectName("mLengthTable")
      self.hboxlayout1.addWidget(self.mLengthTable)

      self.groupBox = QtGui.QGroupBox(self.leftSideSplitter)
      self.groupBox.setObjectName("groupBox")

      self.hboxlayout2 = QtGui.QHBoxLayout(self.groupBox)
      self.hboxlayout2.setMargin(9)
      self.hboxlayout2.setSpacing(6)
      self.hboxlayout2.setObjectName("hboxlayout2")

      self.listView = QtGui.QListView(self.groupBox)
      self.listView.setObjectName("listView")
      self.hboxlayout2.addWidget(self.listView)

      self.mIndicesTable = QtGui.QTableWidget(self.horizSplitter)
      self.mIndicesTable.setObjectName("mIndicesTable")

      self.mDataTable = QtGui.QTableWidget(self.horizSplitter)
      self.mDataTable.setObjectName("mDataTable")
      self.hboxlayout.addWidget(self.horizSplitter)

      self.retranslateUi(Form)
      QtCore.QMetaObject.connectSlotsByName(Form)

   def retranslateUi(self, Form):
      Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
      self.mTypeTable.setColumnCount(1)
      self.mTypeTable.clear()
      self.mTypeTable.setColumnCount(1)
      self.mTypeTable.setRowCount(0)
      self.mLengthTable.setColumnCount(1)
      self.mLengthTable.clear()
      self.mLengthTable.setColumnCount(1)
      self.mLengthTable.setRowCount(0)
      self.groupBox.setTitle(QtGui.QApplication.translate("Form", "Data", None, QtGui.QApplication.UnicodeUTF8))
      self.mIndicesTable.clear()
      self.mIndicesTable.setColumnCount(0)
      self.mIndicesTable.setRowCount(0)
      self.mDataTable.clear()
      self.mDataTable.setColumnCount(0)
      self.mDataTable.setRowCount(0)



if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)
   Form = QtGui.QWidget()
   ui = Ui_Form()
   ui.setupUi(Form)
   Form.show()
   sys.exit(app.exec_())
